package com.example.certificate.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "查询商品详情")
public class ProductDescDTO {

    @ApiModelProperty(value = "商品编号")
    @NotBlank(message = "商品编号不能为空",groups = product.class)
    private String productId;

    public interface product{}
}
